package com.cn.wanxi.util.service.impl;

import com.cn.wanxi.util.dao.impl.NewsDao;
import com.cn.wanxi.util.model.NewsModel;
import com.cn.wanxi.util.service.INewsService;

import java.util.List;

public class NewsService  implements INewsService {
    NewsDao newsDao =new NewsDao();
    @Override
    public List<NewsModel> getNeasModel() {
        List<NewsModel> newsModelList = newsDao.newsmodel();
        return newsModelList;
    }
}
